package com.myz.springboot2.xml.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "案卷")
public class Folder extends Record {
    private static final long serialVersionUID = 7164451500557480689L;

    /** 卷内文件列表 */
    @XmlElement(name = "文件")
    private List<BaseField> children = new ArrayList<>();

}